class TimeRule < ApplicationRecord
  belongs_to :work_time

  # scope :filter_value, ->(value) { where value: value if value.present? }

  serialize :value, JSON

  def validate_value?(params)
    true
  end
end
